home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Taifun
/
Taifun 109 (1989-08-15)(Ossowski, Stefan)(DE)(PD).zip
/
Taifun 109 (1989-08-15)(Ossowski, Stefan)(DE)(PD).adf
/
Includes
/
audiohardware.asm
< prev
next >
Wrap
Assembly Source File
|
1989-02-20
|
700b
|
41 lines
aud0lc=$dff0a0
aud0len=$dff0a4
aud0vol=$dff0a8
aud0per=$dff0a6
dmacon=$dff096
adkcon=$dff09e
intreqr=$dff01e
intreq=$dff09c
intena=$dff09a
start move.w #$000f,dmacon
move.w #$00ff,adkcon
move.l #400000,d0
wl dbra d0,wl
move.l #sound,aud0lc
move.w #991,aud0per
move.w #60,aud0vol
move.w #250,aud0len
move.w #$8001,dmacon
move.w #$0080,intreq
move.w #$0080,intena
waits move.w intreqr,d0
btst #7,d0
beq waits
move.w #%0000000010000000,intreq
move.l #leer,aud0lc
move.w #1,aud0len
rts
align.w
sound: ibytes "includes/zap",500
align.w
leer ds.l 0
end